//
//  RMMCommonBottomView.m
//  Romomo
//
//  Created by puman on 2016/10/26.
//  Copyright © 2016年 mazegong. All rights reserved.
//

#import "RMMCommonBottomView.h"

@implementation RMMCommonBottomView
- (instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        UILabel *lineLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.width, 0.5)];
        lineLabel.backgroundColor = COLORFROMCODE(0xEEEEEE, 1);
        [self addSubview:lineLabel];
        
        _bottomBut = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _bottomBut.frame = CGRectMake(kScreenWideth / 2 - 90, 6.5, 180, 36);
        _bottomBut.backgroundColor = RGBA(237, 238, 239, 1);
        [_bottomBut setTitleColor:RGBA(212, 213, 214, 1) forState:(UIControlStateNormal)];
        _bottomBut.titleLabel.font = kBFont(14);
        _bottomBut.layer.masksToBounds = YES;
        _bottomBut.layer.cornerRadius = 18;
        _bottomBut.userInteractionEnabled = NO;
        [_bottomBut setTitle:@"提交评论" forState:(UIControlStateNormal)];
       // _bottomBut.userInteractionEnabled = NO;
        [self addSubview:_bottomBut];
 
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
